<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet"
	href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
	integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
	crossorigin="anonymous">
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script
	src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"
	integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
	crossorigin="anonymous"></script>
<title>This the index</title>
<script type="text/javascript">
	function toNote(basepath){
		window.location.href =basepath +"/addUser";
	}
	
</script>

</head>
<body>

	<div class="container bs-docs-container">


<h1> hello ,lily !!</h1>

<br>
<%-- <input type="button"  value="jump" onclick="toNote(<%=request.getContextPath() %>)"/> --%>


<br>
<a href="#"onclick="toNote('<%=request.getContextPath() %>')" >点我点我</a>

<br><br>

<form action="<%=request.getContextPath() %>/addUser" method="post" >
	<input type="text" name="username" /><br>
	<input type="submit" name="submit" value="提交" /> 
</form>

<br><br>
<form action="<%=request.getContextPath() %>/addEvents" method="post" >
	购物主题：<input type="text" name="title" /><br>
	实际汇率：<input type="number" step="0.001" name="rateReal" /><br>
	给出汇率：<input type="number" step="0.001" name="rateSell" /><br>
	
	<input type="submit" name="submit" value="提交" /> 
</form>

<h1><a href="<%=request.getContextPath()%>/show">查看代购列表</a></h1>


</div>

</body>
</html>